package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.SpeedGroupSendTaskDevice;
import com.xjscrm.console.param.groupSend.SpeedGroupSendDeviceQuery;
import com.xjscrm.console.vo.SpeedGroupSendDeviceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SpeedGroupSendTaskDeviceMapper {
    int add(SpeedGroupSendTaskDevice speedGroupSendTaskDevice);

    List<SpeedGroupSendDeviceVo> getSpeedGroupSendDeviceList(SpeedGroupSendDeviceQuery speedGroupSendDeviceQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);

    List<SpeedGroupSendTaskDevice> getByTaskId(@Param("taskId") Long taskId, @Param("merId") Long merId);
}
